package com.qixiao.lib.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;

/**
 * 熟悉target和retention两个元注解
 * target
 * @author tk
 * @date 2020/7/11
 */
@TestMetaAnnotation
@TestAnnotation
@Target({TYPE, PARAMETER, FIELD, CONSTRUCTOR, METHOD, LOCAL_VARIABLE})
@Retention(RetentionPolicy.CLASS)
public @interface TestAnnotation {
}
